<div>
    <div class="row" v-if="communityInfo.showPage == 'myCommunity'">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <span><vc:i18n name="我的小区" namespace="enterCommunity"></vc:i18n></span>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-white btn-sm" v-on:click="_showHcUse()">
                            <span><vc:i18n name="商用流程" namespace="enterCommunity"></vc:i18n></span>
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th data-hide="phone" class="text-center">
                                    <span><vc:i18n name="省份" namespace="enterCommunity"></vc:i18n></span>
                                </th>
                                <th data-hide="phone" class="text-center">
                                    <span><vc:i18n name="市/州" namespace="enterCommunity"></vc:i18n></span>
                                </th>
                                <th data-hide="phone" width="150px" class="text-center">
                                    <span><vc:i18n name="区/县" namespace="enterCommunity"></vc:i18n></span>
                                </th>
                                <th data-hide="phone" width="200px" class="text-center">
                                    <span><vc:i18n name="小区名称" namespace="enterCommunity"></vc:i18n></span>
                                </th>
                                <!-- <th data-hide="phone"><span><vc:i18n name="小区地址" namespace="enterCommunity"></vc:i18n></span></th> -->
                                <th class="text-center">
                                    <span><vc:i18n name="小区编码" namespace="enterCommunity"></vc:i18n></span>
                                </th>
                                <th data-hide="phone" class="text-center">
                                    <span><vc:i18n name="联系方式" namespace="enterCommunity"></vc:i18n></span>
                                </th>
                                <th data-hide="phone" class="text-center">
                                    <span><vc:i18n name="面积" namespace="enterCommunity"></vc:i18n></span>
                                </th>
                                <th data-hide="phone" class="text-center">
                                    <span><vc:i18n name="开始时间" namespace="enterCommunity"></vc:i18n></span>
                                </th>
                                <th data-hide="phone" class="text-center">
                                    <span><vc:i18n name="结束时间" namespace="enterCommunity"></vc:i18n></span>
                                </th>
                                <!-- <th data-hide="phone,tablet" ><span><vc:i18n name="城市编码" namespace="enterCommunity"></vc:i18n></span></th> -->
                                <th data-hide="phone" class="text-center">
                                    <span><vc:i18n name="状态" namespace="enterCommunity"></vc:i18n></span>
                                </th>
                                <th class="text-center">
                                    <span><vc:i18n name="操作" namespace="enterCommunity"></vc:i18n></span>
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="community in communityInfo.enterCommunityInfo">
                                <td class="text-center">
                                    <div class="">
                                        {{community.provName}}
                                    </div>
                                </td>
                                <td class="text-center">
                                    <div class="">
                                        {{community.cityName}}
                                    </div>
                                </td>
                                <td class="text-center">
                                    <div class="">
                                        {{community.areaName}}
                                    </div>
                                </td>
                                <td class="text-center">
                                    <div class="vc-tr-td">
                                        {{community.name}}
                                    </div>
                                </td>
                                <!-- <td>
                                {{community.address}}
                            </td> -->
                                <td class="text-center">
                                    <div class="">
                                        {{community.communityId}}
                                    </div>
                                </td>
                                <td class="text-center">
                                    <div class="vc-tr-td">
                                        {{community.tel}}
                                    </div>
                                </td>
                                <td class="text-center">
                                    <div class="vc-tr-td">
                                        {{community.communityArea}}
                                    </div>
                                </td>
                                <td class="text-center">
                                    <div class="">
                                        {{community.startTime}}
                                    </div>
                                </td>
                                <td class="text-center">
                                    <div class="">
                                        {{community.endTime}}
                                    </div>
                                </td>
                                <!-- <td>
                                {{community.nearbyLandmarks}}
                            </td> -->
                                <!-- <td>
                                {{community.cityCode}}
                            </td> -->
                                <td class="text-center">
                                    <div class="">
                                        {{_showCommunityStatus(community.auditStatusCd)}}
                                    </div>
                                </td>
                                <td class="text-center">
                                    <!-- <div class="btn-group" v-if="community.auditStatusCd == '1100' && community.communityId != '7020181217000001'">
                                        <button class="btn-white btn btn-xs" v-on:click="_openExitCommunityModel(community)"><span><vc:i18n name="申请退出" namespace="enterCommunity"></vc:i18n></span>
                                    </button> 
                                    </div>-->
                                    <div class="btn-group" v-if="community.auditStatusCd == '1100' ">
                                        <button class="btn-white btn btn-xs" v-on:click="_openUpdateCommunityModel(community)"><span><vc:i18n name="修改" namespace="enterCommunity"></vc:i18n></span>
                                    </button>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="9">
                                    <ul class="pagination float-right"></ul>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>
    </div>

    <div class="row" v-else>
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <span><vc:i18n name="商用流程" namespace="enterCommunity"></vc:i18n></span>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-white btn-sm" v-on:click="_goBack()">
                            返回
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="text-center padding-bottom">
                        <img src="/img/hc_use.png" />
                    </div>
                </div>
            </div>
        </div>
    </div>


    <!-- <vc:create path="common/storeEnterCommunity"></vc:create>
    <vc:create path="common/storeExitCommunity"></vc:create> -->
    <vc:create path="common/editCommunityArea"></vc:create>
</div>
